<!DOCTYPE HTML>
<HTML>
<head>
<title>Depuracion de Codigo</title></head>
<body>
<?php
include('conexion.php');
$streamkey = $_GET["streamkey"];

if ($streamkey<>NULL) {
	echo "hola".'<br>';
}
else echo "chau".'<br>';
echo $streamkey;
echo "<br>";
$conx = conectarBD();
$result = consultarBD_cancion($conx,$streamkey);
echo "<br>";
echo "ID: ".mysql_result($result, 0, "id")."<br>";
echo "Nombre: ".mysql_result($result, 0, "nombre")."<br>";
echo "Artista: ".mysql_result($result, 0, "artista")."<br>";
echo "url :".mysql_result($result, 0, "url")."<br>";
$row = mysql_fetch_row($result);

?>
</body>
</HTML>

